#define ONFRONTCONNECTED 0
#define ONFRONTDISCONNECTED 1
#define ONRSPAUTHENTICATE 2
#define ONRSPUSERLOGIN 3
#define ONRSPUSERPASSWORDUPDATE 4
#define ONRSPERRORORDERINSERT 5
#define ONRSPORDERACTION 6
#define ONRSPERROREXERCISEORDERINSERT 7
#define ONRSPEXERCISEORDERACTION 8
#define ONRSPERRORLOCKINSERT 9
#define ONRSPFORQUOTEINSERT 10
#define ONRSPERRORCOMBACTIONINSERT 11
#define ONRSPQUERYMAXORDERVOLUME 12
#define ONRSPQUERYLOCKVOLUME 13
#define ONRSPQUERYEXERCISEVOLUME 14
#define ONRSPQRYPOSITION 15
#define ONRSPQRYTRADINGACCOUNT 16
#define ONRSPQRYORDER 17
#define ONRSPQRYTRADE 18
#define ONRSPQRYEXERCISE 19
#define ONRSPQRYLOCK 20
#define ONRSPQRYCOMBACTION 21
#define ONRSPQRYPOSITIONCOMBINEDETAIL 22
#define ONRSPQRYINSTRUMENT 23
#define ONRSPQRYCOVEREDSHORT 24
#define ONRSPQRYEXERCISEASSIGN 25
#define ONRSPTRANSFER 26
#define ONRSPQRYTRANSFER 27
#define ONRSPQUERYBANKBALANCE 28
#define ONRSPQUERYBANKACCOUNT 29
#define ONRSPQUERYBILLCONTENT 30
#define ONRSPBILLCONFIRM 31
#define ONRSPQRYMARGIN 32
#define ONRSPQRYCOMMISSION 33
#define ONRSPQRYPOSITIONDETAIL 34
#define ONRSPQRYEXCHANGERATE 35
#define ONRSPQRYSYSCONFIG 36
#define ONRSPQRYDEPTHMARKETDATA 37
#define ONRTNTRADE 38
#define ONRTNORDER 39
#define ONRTNEXERCISE 40
#define ONRTNCOMBACTION 41
#define ONRTNLOCK 42
